﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace DotNetUI.Controls
{
    public class DotNetNavBar : Control
    {
        static DotNetNavBar()
        {
           
            DefaultStyleKeyProperty.OverrideMetadata(typeof(DotNetNavBar), new FrameworkPropertyMetadata(typeof(DotNetNavBar)));
        }

        public static readonly DependencyProperty TopItemsProperty = DependencyProperty.Register(nameof(TopItems), typeof(ObservableCollection<DotNetNavBarItem>), typeof(DotNetNavBar),new PropertyMetadata(new ObservableCollection<DotNetNavBarItem>()));
        public static readonly DependencyProperty BottomItemsProperty = DependencyProperty.Register(nameof(BottomItems), typeof(ObservableCollection<DotNetNavBarItem>), typeof(DotNetNavBar), new PropertyMetadata(new ObservableCollection<DotNetNavBarItem>()));
        public ObservableCollection<DotNetNavBarItem> TopItems { get=>(ObservableCollection<DotNetNavBarItem>)GetValue(TopItemsProperty); set=>SetValue(TopItemsProperty,value); }
        public ObservableCollection<DotNetNavBarItem> BottomItems { get => (ObservableCollection<DotNetNavBarItem>)GetValue(BottomItemsProperty); set => SetValue(BottomItemsProperty, value); }
    }

}
